package org.elip.stewiemaze.shared.entities;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.gwt.user.client.rpc.IsSerializable;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Player implements IsSerializable{
	
	@PrimaryKey
	@Persistent
	private String nickname;
	@Persistent
	private String email;
	@Persistent
	private String password;
	@Persistent
	private Long highscore;
	@Persistent
	private String activated;
	@Persistent
	private String facebookUser;
	@Persistent
	private String userId;
	@Persistent
	private String accessToken;

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFacebookUser() {
		return facebookUser;
	}

	public void setFacebookUser(String facebookUser) {
		this.facebookUser = facebookUser;
	}

	public String getActivated() {
		return activated;
	}

	public void setActivated(String activated) {
		this.activated = activated;
	}

	public Long getHighscore() {
		return highscore;
	}

	public void setHighscore(Long highscore) {
		this.highscore = highscore;
	}

	public String getNickname() {
		return nickname;
	}
	
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

}
